package dongze.com.ckdj.data.entity.response;

import com.google.gson.annotations.JsonAdapter;

import java.util.Date;
import java.util.List;

import dongze.com.ckdj.data.gson.GsonArrayNullAdapter;
import dongze.com.ckdj.data.gson.GsonNullDeserializer;

/**
 * Created by fanqwz on 2017/9/5.
 */

@JsonAdapter(GsonNullDeserializer.class)
public class GetNamePlateWorkLoadResponse {
    long inImgNum;
    long noImgNum;
    @JsonAdapter(GsonArrayNullAdapter.class)
    List<ImageInfo> noImg;
    @JsonAdapter(GsonArrayNullAdapter.class)
    List<ImageInfo> inImg;

    public long getInImgNum() {
        return inImgNum;
    }

    public void setInImgNum(long inImgNum) {
        this.inImgNum = inImgNum;
    }

    public long getNoImgNum() {
        return noImgNum;
    }

    public void setNoImgNum(long noImgNum) {
        this.noImgNum = noImgNum;
    }

    public List<ImageInfo> getNoImg() {
        return noImg;
    }

    public void setNoImg(List<ImageInfo> noImg) {
        this.noImg = noImg;
    }

    public List<ImageInfo> getInImg() {
        return inImg;
    }

    public void setInImg(List<ImageInfo> inImg) {
        this.inImg = inImg;
    }

    @JsonAdapter(GsonNullDeserializer.class)
    public static class ImageInfo {
        Date imgTime;
        String img;
        String userNo;
        String vin;
        Date importTime;
        String img02;

        public Date getImgTime() {
            return imgTime;
        }

        public void setImgTime(Date imgTime) {
            this.imgTime = imgTime;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getUserNo() {
            return userNo;
        }

        public void setUserNo(String userNo) {
            this.userNo = userNo;
        }

        public String getVin() {
            return vin;
        }

        public void setVin(String vin) {
            this.vin = vin;
        }

        public Date getImportTime() {
            return importTime;
        }

        public void setImportTime(Date importTime) {
            this.importTime = importTime;
        }

        public String getImg02() {
            return img02;
        }

        public void setImg02(String img02) {
            this.img02 = img02;
        }
    }
}
